﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace WorldEvolution
{    

    public class History : Singleton<History>
    {
        List<string> mHistory = new List<string>();        

        public void PushHistory(string format, params object[] args)
        {
            string s = string.Format(format, args);
            mHistory.Add(s);
            if(OnHistoryAdd!=null)
                OnHistoryAdd(s);
        }

        

        public Action<string> OnHistoryAdd;
    }
}
